package by.grsu.mf.model;

import java.util.List;

public class ListFriends {
	
	private List<Friend> listFriends;

	public ListFriends(List<Friend> listFriends) {
		this.listFriends = listFriends;	
	}
	
	public List<Friend> getListFriends() {
		return listFriends;
	}
	
	public Friend getFriend(int index) {
		return listFriends.get(index);
	}
	public int getFriendCount() {
		return listFriends.size();
		
	}
}
